package com.youlai.boot.modules.content.converter;

import com.youlai.boot.modules.content.model.entity.LzCategory;
import com.youlai.boot.modules.content.model.form.LzCategoryForm;
import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


/**
 * 分类对象转换器
 *
 * @author youlaitech
 * @since 2025-02-20 11:07
 */
@Mapper(componentModel = "spring")
public interface LzCategoryConverter{

    LzCategoryForm toForm(LzCategory entity);

    LzCategory toEntity(LzCategoryForm formData);
}